package cn.thornbird.orgsync.model.certificate;

import lombok.Data;

@Data
public class DingTalkCertificate extends AppCertificate {

    public DingTalkCertificate() {
        super();
    }

    public DingTalkCertificate(String appKey, String appSecret) {
        super();
        this.setAppKey(appKey);
        this.setAppSecret(appSecret);
    }

    @Override
    protected void addFields() {
        fields.add("appKey");
        fields.add("appSecret");
    }

    /** 企业ID */
    private String corpId;

    /** 企业内部应用AppKey */
    private String appKey;

    /** 企业内部应用AppSecret */
    private String appSecret;

}
